home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / educate / tutcom47.zip / INVOICE.BAT < prev    next >
DOS Batch File  |  1994-01-24  |  1KB  |  28 lines

  1. Echo OFF
  2. Echo      This file will print a copy of an invoice for you to use in
  3. Echo      registering a copy of TUTOR.COM.  The file will be printed
  4. Echo      on your default printer (device PRN) if you did not specify
  5. Echo      any other printer when you start this batch file.  As an
  6. Echo      example, if you wanted the invoice to print on a printer
  7. Echo      attached to your first serial port, you would start this
  8. Echo      batch file with the command:     INVOICE COM1
  9. Echo 
  10. IF A%1 == A GoTo Default
  11. Echo      Make certain that the printer attached to device %1
  12. Echo      is on and set to THREE spaces from the top of the page.
  13. Echo 
  14. Echo      To stop press Control-Break, otherwise
  15. PAUSE
  16. COPY INVOICE.TXT %1
  17. Echo      Thank you for your interest and payment.
  18. GoTo Halt
  19. :Default
  20. Echo      Make certain your default printer is on and set to THREE
  21. Echo      spaces from the top of the page.
  22. Echo 
  23. Echo      To stop press Control-Break, otherwise
  24. PAUSE
  25. COPY INVOICE.TXT PRN
  26. Echo      Thank you for your interest and payment.
  27. :Halt
  28.